From: noname@inventati.org <noname@inventati.org>
Date: Tue, 21 Apr 2015 20:09:49 +0000 (+0200)
Subject: Do not set terminal title based on stty arguments.
X-Git-Url: https://git.owens.tech/assets/lich_lifts_title_slice.png%20%22Lich%20Lifts%22/assets/lich_lifts_title_slice.png%20%22Lich%20Lifts%22/git?a=commitdiff_plain;h=736685d641c23e8b08f3349d64bf30c1c86cd95d;p=st.git

Do not set terminal title based on stty arguments.
---

diff --git a/st.c b/st.c
index c805117..ece1f64 100644
--- a/st.c
+++ b/st.c
@@ -4090,7 +4090,7 @@ run:
 	if(argc > 0) {
 		/* eat all remaining arguments */
 		opt_cmd = argv;
-		if(!opt_title)
+		if(!opt_title && !opt_line)
 			opt_title = basename(xstrdup(argv[0]));
 	}
 	setlocale(LC_CTYPE, "");